package org.taofuxn.framework.ui.activity;

import android.widget.ImageView;

import com.taofuxn.yycreazy.R;

import org.taofuxn.framework.MainActivity;
import org.taofuxn.framework.ui.base.BaseActivity;

import butterknife.InjectView;

/**
 * 启动页
 * Created by taofuxn on 2016/9/21.
 */
public class InstanceRunActivity extends BaseActivity {
    @InjectView(R.id.instanceImg)
    ImageView instanceImg;

    @Override
    protected int setContentLayout() {
        return R.layout.activity_instance_run;
    }

    @Override
    protected void init() {
        instanceImg.postDelayed(new Runnable() {
            @Override
            public void run() {
                forward(MainActivity.class);
                finish();
            }
        },2000);
    }

}
